package com.chinatelecom.ifree.business.domain.base;

import java.io.Serializable;

public class CountResult implements Serializable {
	private static final long serialVersionUID = 7614305241218581828L;
	private boolean result;
	private long first;
	private long second;
	private int code;
	private String msg;

	public boolean isResult() {
		return result;
	}

	public void setResult(boolean result) {
		this.result = result;
	}

	public long getFirst() {
		return first;
	}

	public void setFirst(long first) {
		this.first = first;
	}

	public long getSecond() {
		return second;
	}

	public void setSecond(long second) {
		this.second = second;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	@Override
	public String toString() {
		return this.getClass().getName() + "[result=" + result + ", first=" + first + ", second=" + second + ", code=" + code + ", msg=" + msg + "]";
	}

}
